﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Player : Father
    {
        public Player(string Name) : base(Name)
        {

        }
        public Player() { }

        public override string  Xingwei()
        {
            base.Xingwei();
            Console.WriteLine("请出拳：1.剪刀 2.石头 3.布");
            int a = int.Parse(Console.ReadLine());
            switch (a)
            {
                case 1:
                    return "剪刀";
                case 2:
                    return "石头";
                case 3:
                    return "布";
                default:
                    break;
            }

            return null;

        }
    }
}
